<?php

namespace App\Strategies;

/**
 * @author qfh
 */
use App\Constants\CreditConstant;
use App\Constants\InviteConstant;
use App\Helpers\DateUtils;
use App\Helpers\Formater\NumberFormater;
use App\Helpers\LinkUtils;
use App\Models\Factory\InviteFactory;


/**
 * 身份策略
 *
 * Class UserStrategy
 * @package App\Strategies
 */
class MessageStrategy extends AppStrategy
{
    public static  function getMsg($type)
    {
        switch ($type)
        {
            case 1:
              $msg = '您的身份证正面上传成功';
            break;
            case 2:
                $msg = '您的身份证饭面上传成功';
            break;
            case 3:
                $msg = '您的手持身份证上传成功';
            break;
            case 4:
                $msg = '您的借记卡信息上传成功';
            break;
            case 5:
                $msg = '您的信用卡上传成功';
            break;
            case 6:
                $msg = '您的营业执照上传成功';
            break;
            case 7:
                $msg = '您的名片上传成功';
            break;
        }
        return $msg;
    }

    public static  function getMsgFail($type)
    {
        switch ($type)
        {
            case 1:
                $msg = '您的身份证正面上传失败';
                break;
            case 2:
                $msg = '您的身份证饭面上传失败';
                break;
            case 3:
                $msg = '您的手持身份证上传失败';
                break;
            case 4:
                $msg = '您的借记卡信息上传失败';
                break;
            case 5:
                $msg = '您的信用卡上传失败';
                break;
            case 6:
                $msg = '您的营业执照上传失败';
                break;
            case 7:
                $msg = '您的名片上传失败';
                break;
        }
        return $msg;
    }
}